]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js: Don't reset selected tab index in open() of looking glass
authorsudigit <sudikshakadam2020@gmail.com>
Sat, 3 Jan 2026 15:24:24 +0000 (20:54 +0530)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 14 Jan 2026 18:11:37 +0000 (19:11 +0100)
The looking glass will reopen with the previously opened tab.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8294
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4027>
(cherry picked from commit 304d027eb6d7f6bf80ea7e068a7148d228d46e91)

js/ui/lookingGlass.js

index 79c56d7eee78b5f15506b7356a8ed6ed1a7ad5fe..ef3eff12cac1b52151a03ba6051d09d1baf311c9 100644 (file)
@@ -1663,7 +1663,6 @@ class LookingGlass extends St.BoxLayout {
         }
 
         this._grab = grab;
-        this._notebook.selectIndex(0);
         this.show();
         this._open = true;
         this._history.lastItem();